/*
 This file contains validations that are too specific to be part of the core
 Please reference the file AFTER the translation file or the rules will be overwritten
 Use at your own risk. We can't provide support for most of the validations
*/
(function($){
	if($.validationEngineLanguage == undefined || $.validationEngineLanguage.allRules == undefined )
		alert("Please include other-validations.js AFTER the translation file");
	else {
		$.validationEngineLanguage.allRules["fio_uk"] = {
				// Good for database fields
				"regex": /^[a-zA-Zа-яА-ЯЇїЄєІіҐґ' -]+$/,
				"alertText": "* Разрешаются украинские буквы, дефис и апостроф"
		};
		$.validationEngineLanguage.allRules["name_uk"] = {
				// Good for database fields
				"regex": /^[0-9a-zA-Zа-яА-ЯЇїЄєІіҐґ'",. \n\/-]+$/,
				"alertText": "* Разрешаются украинские буквы, цифры, знаки препинания"
		};
		$.validationEngineLanguage.allRules["phone_uk"] = {
				// Good for database fields
				"regex": /^[0-9()-]+$/,
				"alertText": "* Разрешаются цифры, дефис и скобки"
		};
		$.validationEngineLanguage.allRules["date_uk"] = {
				// Good for database fields
				"regex": /^[\d]{2}.[\d]{2}.[\d]{4}$/,
				"alertText": "* Необходимо ввести дату в формате ДД.ГГ.РРРР"
		};

	//	# more validations may be added after this point
	}
})(jQuery);
